package com.zzg.springboot.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "book_desc")
public class BookDesc {
	 @Id
	 @Column(name = "id")
	 private Integer id;

	 @Column(name = "desc")
	 private String desc;
	 
	 public BookDesc(){
		 super();
	 }
	 
	public BookDesc(String desc) {
		super();
		this.desc = desc;
	}
	
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getDesc() {
		return desc;
	}

	public void setDesc(String desc) {
		this.desc = desc;
	}
	 
	 
}
